package com.zixuan.gulicollege.uservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName UcenterApplication
 * @Author by zixuan
 * @Date 2021/5/19 9:32
 */

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.zixuan.gulicollege"})
@MapperScan("com.zixuan.gulicollege.uservice.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
        System.out.println("后台服务启动成功(づ￣ 3￣)づ \n" +
                " _   _                 _____                 _          \n" +
                "| | | |               /  ___|               (_)         \n" +
                "| | | |___  ___ _ __  \\ `--.  ___ _ ____   ___  ___ ___ \n" +
                "| | | / __|/ _ \\ '__|  `--. \\/ _ \\ '__\\ \\ / / |/ __/ _ \\\n" +
                "| |_| \\__ \\  __/ |    /\\__/ /  __/ |   \\ V /| | (_|  __/\n" +
                " \\___/|___/\\___|_|    \\____/ \\___|_|    \\_/ |_|\\___\\___|\n");
    }
}
